
import { createRouter, createWebHashHistory, createWebHistory, RouteRecordRaw } from 'vue-router';
import { defineAsyncComponent } from 'vue';

const routes = [
  {
    path: '/',
    name: 'Hello',
    meta: {
      title: '你好页',
    },
    component: () => import('../views/Hello/Hello.vue')
  },
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router